import {createApp} from 'vue'
import App from './App.vue'
import Router from './router/index.js'
import Store from './store/index.js'
import * as ElIconModules from '@element-plus/icons'
import "./permission.js"
const app = createApp(App)
// 统一注册Icon图标
for (const iconName in ElIconModules) {
    if (Reflect.has(ElIconModules, iconName)) {
        const item = ElIconModules[iconName]
        app.component(iconName, item)
    }
}
app.use(Router).use(Store).mount('#app')
